<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">

        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>MVN ARCHETYPE ZEKE</title>
            </f:facet>
            <link type="text/css" rel="stylesheet" href="#{request.contextPath}/resources/css/theme/skin.css" />
            <link type="text/css" rel="stylesheet" href="#{request.contextPath}/resources/css/estilos.css" />
            <script type="text/javascript" src="#{request.contextPath}/resources/js/jquery.Rut.js"></script>
        </h:head>
        <h:body>
            <h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
            <h:outputScript library="primefaces" name="jquery/jquery-plugins.js" target="head"  />
            <h:outputScript library="js" name="primefaces.spanish.locale.js" target="body" />
            <p:ajaxStatus onstart="PF('statusDialog').show()" oncomplete="PF('statusDialog').hide()"/>
            
            <div class="centered">
                <h2>PLANTILLA JSF+SPRING+ JPA/HIBERNATE ARCHETYPE</h2>

                <ui:include src="/templates/includes/menu_superior.xhtml" />

                <div class="contenidoCentral">
                    <ui:insert name="contenido"> No se encontro contenido </ui:insert>
                </div>

                <div class="footer">
                    <p>
			Maven Archetypes 2014 - Zeke Ltda<br/>
			Compilación: #{versionBean.version}
		    </p>
                </div>

                <p:dialog widgetVar="statusDialog" modal="true" closable="false"
			onShow="PF('statusDialog').initPosition()" >
                    <img src="#{request.contextPath}/resources/css/theme/images/ajax-loader.gif" alt="Espere por favor.." />
                </p:dialog>

                <ui:include src="/templates/includes/mensajes_globales.xhtml" />
                <ui:include src="/templates/includes/idleMonitor.xhtml" />
                <ui:include src="/templates/includes/funciones_javascript_globales.xhtml" />
            </div>
            
        </h:body>
    </f:view>
</html>
